package com.lyl.serviceucenter.mapper;

import com.lyl.serviceucenter.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-18
 */
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select count(1) from ucenter_member where date(gmt_create)=#{date}")
    Long getMemberCountByDay(String date);
}
